<?php
 
//The next comment block is for PHPDocumentor
/**
 * Conference Registration - Registration for conferences
 * 
 * This file conforms to the Xoops standard for the xoops_version.php file. Constant declarations beginning _MI_ are contained in language/../modinfo.php
 * 
 * @author Kevin van Haaren (kevin@vanhaaren.net)
 * @copyright 2006 Kevin van Haaren, US
 * @package CONFREG
 * @subpackage Installation
 * 
 */

global $modversion;

$modversion['name'] = _MI_CONFREG_NAME;
$modversion['version'] = 0.7;
$modversion['description'] = _MI_CONFREG_DESC;
$modversion['credits'] = "Kevin van Haaren<br />( http://www.superfantasmoworld.com/ )";
$modversion['author'] = "Kevin van Haaren";
$modversion['help'] = "confreg_help.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/confreg_slogo.png";
$modversion['dirname'] = "confreg";
$modversion['onUpdate'] = "install_funcs.inc";
$modversion['onInstall'] = "install_funcs.inc";
$modversion['onUninstall'] = "install_funcs.inc";

// Sql file
// All tables should not have any prefix!
$modversion['sqlfile']['mysql'] = "sql/confreg_mysql.sql";

// Tables created by sql file (without prefix!)
$i = 1;
$modversion['tables'][$i++] = 'confreg_conferences';
$modversion['tables'][$i++] = 'confreg_groups';
$modversion['tables'][$i++] = 'confreg_people';
$modversion['tables'][$i++] = 'confreg_coupons';
$modversion['tables'][$i++] = 'confreg_extras';
$modversion['tables'][$i++] = 'confreg_extra_reservations';

// Templates
$i = 1;
$modversion['templates'][$i]['file'] = 'startregistration.tpl';
$modversion['templates'][$i++]['description'] = 'Start Registration Process';
$modversion['templates'][$i]['file'] = 'getbilling.tpl';
$modversion['templates'][$i++]['description'] = 'Get Billing Form';
$modversion['templates'][$i]['file'] = 'getusers.tpl';
$modversion['templates'][$i++]['description'] = 'Get Attendees Form';
$modversion['templates'][$i]['file'] = 'edit_user.tpl';
$modversion['templates'][$i++]['description'] = 'Edit Attendee Form';
$modversion['templates'][$i]['file'] = 'confirmreg.tpl';
$modversion['templates'][$i++]['description'] = 'Confirm Entries Form';
$modversion['templates'][$i]['file'] = 'confirmpay.tpl';
$modversion['templates'][$i++]['description'] = 'Invoice with Pay Online Option';
$modversion['templates'][$i]['file'] = 'savepay.tpl';
$modversion['templates'][$i++]['description'] = 'Online Payment Confirmation';
$modversion['templates'][$i]['file'] = 'payfail.tpl';
$modversion['templates'][$i++]['description'] = 'Online Payment Failed';

// Main Menu
$modversion['hasMain'] = 1;
$modversion['sub'][0]['name'] = _MI_CONFREG_UMNAME0;
$modversion['sub'][0]['url'] = 'index.php';


// Admin menu things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/adminindex.php";
$modversion['adminmenu'] = "admin/menu.inc";

// Blocks
$modversion['blocks'][1]['file'] = "confregblocks.php";
$modversion['blocks'][1]['name'] = _MI_CONFREG_BNAME1;
$modversion['blocks'][1]['description'] = "Conference Summary";
$modversion['blocks'][1]['show_func'] = "b_confreg_summary";
$modversion['blocks'][1]['template'] = 'block_conf_summary.tpl';
$modversion['blocks'][1]['edit_func'] = 'b_confreg_edit';
$modversion['blocks'][1]['options'] = '1';

$modversion['blocks'][2]['file'] = "confregblocks.php";
$modversion['blocks'][2]['name'] = _MI_CONFREG_BNAME2;
$modversion['blocks'][2]['description'] = "Conference Statistics";
$modversion['blocks'][2]['show_func'] = "b_confreg_stats_show";
$modversion['blocks'][2]['template'] = 'block_conf_stats.tpl';
$modversion['blocks'][2]['edit_func'] = 'b_confreg_edit';
$modversion['blocks'][2]['options'] = '1';

// Search things
$modversion['hasSearch'] = 0;

// Comment things
$modversion['hasComments'] = 0;

// Notification things
$modversion['hasNotification'] = 0;

// Configuration items
$modversion['config'][0]['name'] = 'confreg_cfg0';
$modversion['config'][0]['title'] = '_MI_CONFREG_CFG0NAME';
$modversion['config'][0]['description'] = '_MI_CONFREG_CFG0DESC';
$modversion['config'][0]['formtype'] = XOBJ_DTYPE_TXTBOX;
$modversion['config'][0]['valuetype'] = 'text';
$modversion['config'][0]['default'] = '';
$modversion['config'][0]['options'] = '';

$modversion['config'][1]['name'] = 'confreg_cfg1';
$modversion['config'][1]['title'] = '_MI_CONFREG_CFG1NAME';
$modversion['config'][1]['description'] = '_MI_CONFREG_CFG1DESC';
$modversion['config'][1]['formtype'] = XOBJ_DTYPE_TXTBOX;
$modversion['config'][1]['valuetype'] = 'text';
$modversion['config'][1]['default'] = '';
$modversion['config'][1]['options'] = '';

?>